package main;

import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapreduce.Mapper;

import java.util.StringTokenizer;

public class QueryMapper extends Mapper<Object, Text, Text, Text> {

    @Override
    protected void map(Object key, Text value, Mapper<Object, Text, Text, Text>.Context context) {
        String line = new String(value.getBytes(), 0, value.getLength());
        StringTokenizer st = new StringTokenizer(line, "\n");
    }
}
